﻿using Manage.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Manage

{
    public static class Share
    {
        public static bool AppClose;
        public static double TotalUpLink;
        public static double TotalDownLink;
        //public static string WebAddress = "http://localhost:19250/";
        public static string WebAddress = "http://www.taxhui.com/";
        public static MShare.HttpPost nCtrl = new MShare.HttpPost();
        public static ManageOnlineModel MoM = new ManageOnlineModel();

        #region 提交网络请求
        public static RetModel PostData(string path, Dictionary<string, string> urlParam, string data)
        {
            try
            {
                return nCtrl.PostData(WebAddress, path, urlParam, data);
            }
            catch (Exception)
            {

                throw;
            }
        }
        #endregion
    }
}
